package cn.kust.serviceinterestpoint.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author microTourism
 * @since 2022-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="InterestInterest对象", description="")
public class InterestInterest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "兴趣点名称")
    private String name;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "坐标, 经纬度用逗号分隔")
    private String coordinate;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "分类描述图片")
    private String pictureUrl;

    @ApiModelProperty(value = "平均游玩时间")
    private Integer averageTime;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "自定义排序符号")
    private Integer sort;

    @ApiModelProperty(value = "数据创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "数据最后修改时间")
    private Date gmtModified;


}
